<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>China Fullfill</title>
<link href="/css/backstage.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="/js/jquery.min.js"></script>
<script type="text/javascript" src="/js/backstage.js"></script>
<link href="/css/blitzer/jquery-ui.css" rel="stylesheet" type="text/css" /> 
<script type="text/javascript" src="/js/jquery-ui.js"></script>
<script>

</script>
<style>
	html,body{text-align:center;border:none;background:none}
	#content{width:900px;text-align:left;position:relative;margin-left:auto;margin-right:auto;background:white;height:100%}
	.contentTop{height:80px;line-height:80px;width:100%;text-align:left;font-size:15px;font-weight:bold;}
	.contentBottom{height:50px;line-height:50px;width:100%;text-align:right;}
	.list{width:800px;max-height:28cm;border-collapse:collapse;margin-left:auto;margin-right:auto;}
	.list tr{height:30px}
	.list th,.list td{border:1px solid black;text-align:center;}
	.width1{width:80px;text-align:right;}
	.width2{width:170px;}
	.width3{width:100px;}
	.width4{width:150px;}
	.center{text-align:center}
	.action{cursor:pointer;marin:2px}
	.editTable td{padding:5px;text-align:left;}
	.barcode{display:inline-block;zoom:1;*display:inline;margin-left:50px;margin-bottom:0px;height:40px;overflow:hidden;margin-top:30px}
	.printTitle{display:inline-block;zoom:1;*display:inline; font-size: 30px;  margin-left: 200px;}
</style>
</head>
<body>
<div id="content">
	
	
<{foreach from=$items item=item name=list}>
	<{if $smarty.foreach.list.index%20 == 0}>
		<div class="contentTop">
		<div class="barcode"><img src="/product/receiving/barcode/code/<{$receiving.receiving_code}>"/></div><div class="printTitle"><{$lang.receive}><{$lang.items}></div>
		</div>
		
		<table class="list">
			<tr>
				<td>ASN</td><td colspan='4'><{$receiving.receiving_code}></td>
				<td><{$lang.customer_code}></td><td colspan='5'><{$receiving.customer_id}></td>
			</tr>
			<tr>
				<td><{$lang.receiver}></td><td colspan='4'><{$userName}></td>
				<td><{$lang.date}></td><td colspan='5'><{$currentDate}></td>
			</tr>
			<tr>
				<th><{$lang.sku}></th>
				<th><{$lang.product}><{$lang.name}></th>
				<th><{$lang.category}></th>
				<th><{$lang.quanlity}></th>
				
				<th><{$lang.quantity}></th>
				<th><{$lang.actual}><{$lang.quantity}></th>
				<th><{$lang.standard}><{$lang.weight}></th>
				<th><{$lang.actual}><{$lang.weight}></th>
				<th><{$lang.no_label}><{$lang.quantity}></th>
				<th><{$lang.package}>?</th>
				<th style="width:100px"><{$lang.exception}><{$lang.remark}></th>
			</tr>
	<{/if}>
		<tr style="height:50px">
			<td class="<{$lang.sku}><{$item.ri_id}>"><{$item.product.product_sku}></td>
			<td><{$item.product.product_title}></td>
			<td><{$item.product.category.poc_value}></td>
			<td>
				<{if $item.is_qc}>
				<{$lang.yes}>
				<{else}>
				<{$lang.no}>
				<{/if}>
			</td>
			<td><{$item.order_qty}></td>
			<td id="receiveQty<{$item.ri_id}>"></td>
			<td><{$item.product.product_weight}></td>
			<td  id="weight<{$item.ri_id}>"></td>
			<td id="nonLabled<{$item.ri_id}>"></td>
			<td id="packaged<{$item.ri_id}>"></td>
			<td></td>
		</tr>
		
		<{if ($smarty.foreach.list.index+1)%20 == 0 || $smarty.foreach.list.last}></table><div class="contentBottom" style="<{if !$smarty.foreach.list.last}>page-break-after:always<{/if}>">
		<div style="height:20px;"><{$lang.receiver}>:__________________<div style="width:50px;display:inline-block;zoom:1;*display:inline"></div></div><div><{$lang.receive}><{$lang.date}>:__________________<div style="width:50px;display:inline-block;zoom:1;*display:inline"></div></div>
	</div><{/if}>
			
	<{/foreach}>

</div>

</body>
</html>